package com.lww.springcloudapi.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor //无参构造
@Accessors(chain = true) //链式编程
@ApiModel(value = "开户对象", description = "开户实体")
public class Kh {
//用户实体
    @ApiModelProperty(value = "手机号码")
    @TableField("pnumber")
    private String pnumber; //用户名

    @ApiModelProperty(value = "用户密码")
    @TableField("userpassword")
    private String userpassword;//用户密码
//用户信息
    @ApiModelProperty(value = "套餐")
    @TableField("setmealid")
    private int setmealid;//套餐

    @ApiModelProperty(value = "业务")
    @TableField("business")
    private int business;//业务

    @ApiModelProperty(value = "注册时间")
    @TableField("registrationtime")
    private Date registrationtime;//注册时间

    @ApiModelProperty(value = "用户状态")
    @TableField("state")
    private int state;//用户状态

    @ApiModelProperty(value = "身份证号码")
    @TableField("identity")
    private String identity;//身份证号码

    @ApiModelProperty(value = "积分")
    @TableField("integral")
    private int integral;//积分

    @ApiModelProperty(value = "所属在那个营业厅")
    @TableField("businesshall")
    private String businesshall;//所属在那个营业厅

    @ApiModelProperty(value = "身份证名字")
    @TableField("idname")
    private String idname;//身份证名字
}
